VERSION 5.00
Begin VB.Form frmErrMsg 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "Error occurred"
   ClientHeight    =   4440
   ClientLeft      =   45
   ClientTop       =   225
   ClientWidth     =   7305
   Icon            =   "frmErrMsg.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   4440
   ScaleWidth      =   7305
   ShowInTaskbar   =   0   'False
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton cmdHelp 
      Caption         =   "Help"
      Height          =   345
      Left            =   3870
      TabIndex        =   7
      Top             =   3390
      Width           =   1785
   End
   Begin VB.TextBox txtDesc 
      BackColor       =   &H80000004&
      Height          =   1575
      Left            =   1500
      MultiLine       =   -1  'True
      TabIndex        =   3
      Text            =   "frmErrMsg.frx":000C
      Top             =   1560
      Width           =   5115
   End
   Begin VB.TextBox txtMdl 
      BackColor       =   &H80000004&
      Height          =   345
      Left            =   1500
      TabIndex        =   2
      Text            =   "Form1"
      Top             =   720
      Width           =   5115
   End
   Begin VB.TextBox txtFuc 
      BackColor       =   &H80000004&
      Height          =   345
      Left            =   1500
      TabIndex        =   1
      Text            =   "Command1"
      Top             =   1140
      Width           =   5115
   End
   Begin VB.CommandButton cmdClose 
      Caption         =   "Close"
      Height          =   345
      Left            =   1500
      TabIndex        =   0
      Top             =   3390
      Width           =   1635
   End
   Begin VB.Label lblMdl 
      Caption         =   "Module"
      Height          =   285
      Left            =   600
      TabIndex        =   6
      Top             =   780
      Width           =   885
   End
   Begin VB.Label lblFuc 
      Caption         =   "Function"
      Height          =   315
      Left            =   600
      TabIndex        =   5
      Top             =   1230
      Width           =   825
   End
   Begin VB.Label lblDesc 
      Caption         =   "Description"
      Height          =   345
      Left            =   570
      TabIndex        =   4
      Top             =   1740
      Width           =   855
   End
   Begin VB.Image Image1 
      Height          =   480
      Left            =   570
      Picture         =   "frmErrMsg.frx":0015
      Top             =   150
      Width           =   480
   End
End
Attribute VB_Name = "frmErrMsg"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private FORM_NAME As String
Private Sub cmdClose_Click()
Unload Me
End Sub

Private Sub Form_Initialize()
FORM_NAME = UCase(Me.Name)
End Sub

Private Sub Form_Load()
Call initLan
End Sub

Private Sub initLan()
Dim clsLan As New CLan
Me.Caption = clsLan.getCaps(MODULE_NAME, FORM_NAME, Me.Caption)
lblMdl.Caption = clsLan.getCaps(MODULE_NAME, FORM_NAME & "_" & "LBLMDL", lblMdl.Caption)
lblFuc.Caption = clsLan.getCaps(MODULE_NAME, FORM_NAME & "_" & "LBLFUC", lblFuc.Caption)
lblDesc.Caption = clsLan.getCaps(MODULE_NAME, FORM_NAME & "_" & "LBLDESC", lblDesc.Caption)
cmdClose.Caption = clsLan.getCaps(MODULE_NAME, FORM_NAME & "_" & "CMDCLOSE", cmdClose.Caption)
cmdHelp.Caption = clsLan.getCaps(MODULE_NAME, FORM_NAME & "_" & "CMDHELP", cmdHelp.Caption)
End Sub
